package com.adobe.apprise.commands
{
	import com.adobe.apprise.events.BusyEvent;	
	
	import com.adobe.cairngorm.commands.ICommand;
	import com.adobe.cairngorm.control.CairngormEvent;
	
	import mx.managers.CursorManager;
	
	public class BusyCommand implements ICommand
	{
		public function execute(ce:CairngormEvent):void
		{
			if ( BusyEvent(ce).busy )
				CursorManager.setBusyCursor();
			else
				CursorManager.removeBusyCursor();
		}
	}
}